package com.glela.api.model;

import java.util.Date;
import com.alipay.api.response.AlipayTradeQueryResponse;

/**
 * @author gaoweiqi
 * @2017年12月12日
 */
public class AlipayTradeQueryResponseVo {

	 	private String 	tradeNo;//	支付宝交易号 	2013112011001004330000121536
	 	private String  outTradeNo ;// 	商家订单号 	6823789339978248
	 	private String 	buyerLogonId;// 	买家支付宝账号 	159****5620
	 	private String 	tradeStatus;//	交易状态：WAIT_BUYER_PAY（交易创建，等待买家付款）、TRADE_CLOSED（未付款交易超时关闭，或支付完成后全额退款）、TRADE_SUCCESS（交易支付成功）、TRADE_FINISHED（交易结束，不可退款） 	TRADE_CLOSED
	 	private String  totalAmount;	// 	交易的订单金额，单位为元，两位小数。该参数的值为支付时传入的total_amount 	88.88
	 	private String  receiptAmount; 	// 	实收金额，单位为元，两位小数。该金额为本笔交易，商户账户能够实际收到的金额 	15.25
	 	private String  buyerPayAmount;// 	买家实付金额，单位为元，两位小数。该金额代表该笔交易买家实际支付的金额，不包含商户折扣等金额 	8.88
	 	private String  pointAmount ;// 	积分支付的金额，单位为元，两位小数。该金额代表该笔交易中用户使用积分支付的金额，比如集分宝或者支付宝实时优惠等 	10
	 	private String  invoiceAmount ;// 	交易中用户支付的可开具发票的金额，单位为元，两位小数。该金额代表该笔交易中可以给用户开具发票的金额 	12.11
	 	private Date    sendPayDate ;// 	本次交易打款给卖家的时间 	2014-11-27 15:45:57
	 	private String  storeId ;// 	商户门店编号 	NJ_S_001
	 	private String  terminalId ;	 	// 	商户机具终端编号 	NJ_T_001
	 	private String  storeName 	;	// 	请求交易支付中的商户店铺的名称 	证大五道口店
	 	private String  buyerUserId; 	// 	买家在支付宝的用户id 	2088101117955611
	 	private String  buyerUserType 	;	// 	买家用户类型。CORPORATE:企业用户；PRIVATE:个人用户。 	PRIVATE 
	 	public AlipayTradeQueryResponseVo() {
	 	}
	 	public AlipayTradeQueryResponseVo(AlipayTradeQueryResponse responese) {
	 	 	setTradeNo(responese.getTradeNo());
	 	 	setOutTradeNo(responese.getOutTradeNo());
	 	 	setBuyerLogonId(responese.getBuyerLogonId());
	 	 	setTradeStatus(responese.getTradeStatus());
	 	 	setTotalAmount(responese.getTotalAmount());
	 	 	setReceiptAmount(responese.getReceiptAmount());
	 	 	setBuyerPayAmount(responese.getBuyerPayAmount());
	 	 	setPointAmount(responese.getPointAmount()); 
	 	 	setInvoiceAmount(responese.getInvoiceAmount());
	 	 	setSendPayDate(responese.getSendPayDate());
	 	 	setStoreId(responese.getStoreId()); 
	 	 	setTerminalId(responese.getTerminalId()); 
	 	 	setStoreName(responese.getStoreName()); 	
	 	 	setBuyerUserId(responese.getBuyerUserId());
	 	}
		public String getTradeNo() {
			return tradeNo;
		}
		public void setTradeNo(String tradeNo) {
			this.tradeNo = tradeNo;
		}
		public String getOutTradeNo() {
			return outTradeNo;
		}
		public void setOutTradeNo(String outTradeNo) {
			this.outTradeNo = outTradeNo;
		}
		public String getBuyerLogonId() {
			return buyerLogonId;
		}
		public void setBuyerLogonId(String buyerLogonId) {
			this.buyerLogonId = buyerLogonId;
		}
		public String getTradeStatus() {
			return tradeStatus;
		}
		public void setTradeStatus(String tradeStatus) {
			this.tradeStatus = tradeStatus;
		}
		 
		public String getTotalAmount() {
			return totalAmount;
		}
		public void setTotalAmount(String totalAmount) {
			this.totalAmount = totalAmount;
		}
		public String getReceiptAmount() {
			return receiptAmount;
		}
		public void setReceiptAmount(String receiptAmount) {
			this.receiptAmount = receiptAmount;
		}
		public String getBuyerPayAmount() {
			return buyerPayAmount;
		}
		public void setBuyerPayAmount(String buyerPayAmount) {
			this.buyerPayAmount = buyerPayAmount;
		}
		public String getPointAmount() {
			return pointAmount;
		}
		public void setPointAmount(String pointAmount) {
			this.pointAmount = pointAmount;
		}
		public String getInvoiceAmount() {
			return invoiceAmount;
		}
		public void setInvoiceAmount(String invoiceAmount) {
			this.invoiceAmount = invoiceAmount;
		}
		public Date getSendPayDate() {
			return sendPayDate;
		}
		public void setSendPayDate(Date sendPayDate) {
			this.sendPayDate = sendPayDate;
		}
		public String getStoreId() {
			return storeId;
		}
		public void setStoreId(String storeId) {
			this.storeId = storeId;
		}
		public String getTerminalId() {
			return terminalId;
		}
		public void setTerminalId(String terminalId) {
			this.terminalId = terminalId;
		}
		public String getStoreName() {
			return storeName;
		}
		public void setStoreName(String storeName) {
			this.storeName = storeName;
		}
		public String getBuyerUserId() {
			return buyerUserId;
		}
		public void setBuyerUserId(String buyerUserId) {
			this.buyerUserId = buyerUserId;
		}
		public String getBuyerUserType() {
			return buyerUserType;
		}
		public void setBuyerUserType(String buyerUserType) {
			this.buyerUserType = buyerUserType;
		}
}
